<jsp:include page="header.jsp" />
	<jsp:include page="search.jsp" />
		<div id="shop-body">
			<div class="slideshow">
				<img src="Imagens/img-teste1.jpg" width="800" height="300" />
				<img src="Imagens/img-teste2.jpg" width="800" height="300" />
				<img src="Imagens/img-teste3.jpg" width="800" height="300" />
			</div>
			<br/>
			<img src="Imagens/barra-destaque.jpg"/>
			<br/>
			<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
				<c:forEach var="prod" items="${prods}">
				<div class="listagemProd"">
					<div >
						<h4><c:forEach var="cat" items="${prod.categories}">${cat.name} </c:forEach></h4>
						<img src="http://localhost:8080/ShoppingCart.Com_V6/ProductImage/${prod.images[0].description}" width="120" height="120" alt="${prod.name}"/>
						<h3 class="textLeft">${prod.name}</h3>
						<h4 class="textLeft">Price:U$ ${prod.price}</h4>
						<p class="textLeft">${prod.description}</p>
						<span class="textLeft">
							<a href="prodDetails.ja?codProd=${prod.id}">Details</a>
						</span>
					</div>
						<hr size="2px" width="150px">		
				</div>
				</c:forEach>
			<div id="paginacao">
        	<ul>
            	<c:forEach var="pagina" items="${paginacao}">                                    
		        	<li>
		        		<a href="/ShoppingCart.Com_V6/categoryProd.ja?pag=${pagina}">${pagina}</a>
		        	</li> 
                </c:forEach>
      	   	</ul>
     	</div>
		</div>
<jsp:include page="footer.jsp" />
